custom

public static Scaling.CustomScaling custom(int scaleFactor)

Creates a custom scaling which scales the content according to the given scaleFactor.

Parameters

scaleFactor

a scale factor to apply to the content, where 100 is a normal size. Should be in the range from 10 to 200

Throws

if the scaleFactor less than 10 or more than 200